function onLoad()
{
	document.addEventListener("deviceready", onDeviceReady, true);
}

function onDeviceReady()
{
 	//navigator.notification.alert("Welcome!!");
}

function callAnothePage(pageURI)
{  
	window.location = pageURI;
}

function showLoadingBar(message)
{
	$("body").append('<div class="modalWindow"/>');
	$.mobile.loadingMessageTextVisible = true;
    $.mobile.loadingMessage = message;
    $.mobile.showPageLoadingMsg();
}            

function hideLoadingBar(){
	$(".modalWindow").remove();
	$.mobile.hidePageLoadingMsg();			
}

